public class Card {
	int value;
	boolean isAce;
	String suit;
	String name;
	int getCardValue(){
		return value;
	}
	boolean getCardAce(){
		return isAce;
	}
	String getCardSuit(){
		return suit;
	}
	String getCardName(){
		return name;
	}
	Card(int cardValue, String cardSuit){
		isAce=false;
		switch (cardValue){
			case 1:
				name="Ace";
				value=11;
				isAce=true;
				break; 
			case 11:
				name="Jack";
				value=10;
				break;
			case 12:
				name="Queen";
				value=10;
				break;
			case 13:
				name="King";
				value=10;
				break;
			default:
				name=(""+cardValue);
				value=cardValue;
		}
		suit=cardSuit;
	}
}

